package cn.forge.mall.framework.common.exception;

public interface GlobalErrorCodeConstants {
    ErrorCode SUCCESS = new ErrorCode(0,"成功");

    ErrorCode UNAUTHORIZED = new ErrorCode(401,"账号未登录");

    ErrorCode BAD_REQUEST = new ErrorCode(400, "请求参数不正确");

    ErrorCode FORBIDDEN = new ErrorCode(403, "没有该操作权限");
    ErrorCode INTERNAL_SERVER_ERROR = new ErrorCode(500, "系统异常");
}
